package ${packageName}.provider.impl;

import ${packageName}.frame.plugins.module.provider.impl.BaseProviderImpl;
import ${packageName}.frame.plugins.module.service.IBaseService;
import ${packageName}.module.${moduleName}.dto.${className}DTO;
import ${packageName}.module.${moduleName}.po.${className}PO;
import ${packageName}.module.${moduleName}.provider.${className}Provider;
import ${packageName}.module.${moduleName}.service.${className}Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * ${tableDesc}信息数据传输对象业务逻辑处理接口实现(用于数据传输对象与持久对象之间的转换)
 *
 * @author ${author}
 * @version 1.0
 * @filename ${className}ProviderImpl.java
 * @copyright www.united.cn
 * @date ${date}
 */
@Component
public class ${className}ProviderImpl extends BaseProviderImpl<${className}DTO, ${className}PO, Long> implements ${className}Provider {

    @Autowired
    private ${className}Service ${className?uncap_first}Service;

    /**
     * 定义成抽象方法, 由子类实现, 完成service的注入
     *
     * @return BaseService实现类
     */
    @Override
    protected IBaseService<${className}PO, Long> getService() {
        return ${className?uncap_first}Service;
    }
}